package com.xuecheng.api.content;

import com.xuecheng.api.content.teacherplan.dto.TeachplanDTO;
import com.xuecheng.api.content.teacherplan.vo.TeachplanVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

@Api(value = "课程计划管理")
public interface TeacherPlanApi {

    @ApiOperation(value = "根据id查询课程计划")
    @ApiImplicitParam(name = "courseId", value = "课程Id值", required = true, dataType = "Long", paramType = "path", example = "1")
    TeachplanDTO queryTeacherPlanById(Long courseId);

    @ApiOperation(value = "添加或者修改课程计划")
    TeachplanDTO modifyOrCreateTeachPlan(TeachplanVO vo);

    @ApiOperation(value = "删除课程计划")
    @ApiImplicitParam(name = "teachPlanId", value = "课程计划Id值", required = true, dataType = "Long", paramType = "path", example = "1")
    void removeTeachPlan(Long teachPlanId);


}
